home *** CD-ROM | disk | FTP | other *** search
Text File | 1989-12-03 | 1.1 KB | 52 lines | [TEXT/Earl] |
- ; Earle's emacs.rc file.
- ; Default MicroEmacs startup file for use with the Macintosh.
- ; Thu Nov 30 1989
- ;
- ; Everybody seems to want to use hard tabs of 4 on the Mac.
- ;
- 4 set $hardtab
- ; Set up auto CMODE for C language source and header files,
- ; also resource definition files.
-
- 20 store-macro
- set %rctmp &sin $cfname "."
- !if &equ %rctmp 0
- !return
- !endif
- set %rctmp &mid $cfname &add %rctmp 1 5
- !if &or &seq %rctmp "c" &seq %rctmp "h"
- add-mode "cmode"
- !endif
- !if &seq %rctmp "r"
- add-mode "cmode"
- !endif
- !if &seq %rctmp "mss"
- add-mode "wrap"
- !endif
- !endm
- set $readhook execute-macro-20
-
- ; For vt100 fanatics.
-
- bind-to-key set-mark ^@
-
- ; Vi does something like this. This is control-6, but would also
- ; be command-up on the Macintosh.
-
- bind-to-key next-buffer ^^
-
- ; The Macintosh can do smooth scroll without much performance hit.
- ; Set to zero if you don't care for it.
-
- set $sscroll 1
-
- ; This example shows how to set the default window size. Uncomment
- ; and adjust numeric parameters to taste.
- ;
- ; Set the window size to 100 by 20 characters.
- ; set $xpos 100
- ; set $ypos 20
- ; mouse-resize-screen
- ;
-
-